package seg.tef4.whms.apis;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Path;

public interface ReturnWarehouseApi {

    @POST("/wms/returnn/part_return")
    public Call<ResponseBody> add(@Header("Authorization") String token, @Body Long [] ids);

    @GET("/wms/returnn/part_return_approval1/{id}")
    public Call<ResponseBody> part_return_approval1(@Header("Authorization") String token, @Path("id") Long id);

    @GET("/wms/returnn/part_return_approval2/{id}")
    public Call<ResponseBody> part_return_approval2(@Header("Authorization") String token, @Path("id") Long id);
}
